diff --git a/src/cw/radio.c b/src/cw/radio.c index 4cff719f..bb15f5eb 100644 --- a/src/cw/radio.c +++ b/src/cw/radio.c @@ -16,6 +16,10 @@ const char CW_RADIO_COUNTRY_STRING[]="country_string"; const char CW_RADIO_DECRYPTION_ERROR_REPORT_PERIOD[]="decryption_error_report_period"; +const char CW_RADIO_SUPPORTED_RATES[]="supported_rates"; + + + /* Cisco */ const char CW_RADIO_OCCUPANCY_LIMIT[]="occupancy_limit"; @@ -29,6 +33,7 @@ struct cw_itemdef capwap_radioitemdefs[] = { {CW_RADIO_DECRYPTION_ERROR_REPORT_PERIOD,CW_ITEM_NONE,MBAG_WORD}, {CW_RADIO_BSSID,CW_ITEM_NONE,MBAG_BSTR16}, +{CW_RADIO_SUPPORTED_RATES,CW_ITEM_NONE,MBAG_DATA}, {CW_ITEM_NONE} }; @@ -90,3 +95,5 @@ int cw_radio_set_all_admin_states(mbag_t radios,int state, int cause) return 1; } + + diff --git a/src/cw/radio.h b/src/cw/radio.h index 80cc2ddf..a2a657b4 100644 --- a/src/cw/radio.h +++ b/src/cw/radio.h @@ -3,12 +3,17 @@ #include "mbag.h" #include "item.h" +#include "conn.h" extern const char CW_RADIO_ADMIN_STATE[]; extern const char CW_RADIO_OPER_STATE[]; + +extern const char CW_RADIO_SUPPORTED_RATES[]; + + extern const char CW_RADIO_TYPE[]; extern const char CW_RADIO_REG_DOMAIN[]; extern const char CW_RADIO_BSSID[]; @@ -49,6 +54,8 @@ int cw_radio_update_oper_states(mbag_t radios,int cause); extern struct cw_itemdef capwap_radioitemdefs[]; extern int cw_radio_set_all_admin_states(mbag_t radios,int state, int cause); +int cw_out_80211_supported_rates(struct conn *conn, struct cw_action_out *a, uint8_t * dst); + #endif