From 6569c0f1dbae76b71b6631ec063164b91d8504e7 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sat, 2 Apr 2016 14:49:52 +0000 Subject: [PATCH] More radioitems FossilOrigin-Name: d12d591d650b0c777c2824f0c505f4459e6371fc81aa3284dd3899f1902a12d2 --- src/cw/capwap80211_items.c | 14 +++++++++++++- src/cw/capwap80211_items.h | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/cw/capwap80211_items.c b/src/cw/capwap80211_items.c index 58b1b274..c8791bda 100644 --- a/src/cw/capwap80211_items.c +++ b/src/cw/capwap80211_items.c @@ -6,6 +6,7 @@ const char CW_RADIOITEM80211_SUPPORTED_RATES[]="802.11 supported_rates"; const char CW_RADIOITEM80211_WTP_RADIO_INFORMATION[]="802.11 radio_info"; +const char CW_RADIOITEM80211_RATE_SET[]="802.11 rate set"; /* MAC Operation Items */ const char CW_RADIOITEM80211_RTS_THRESHOLD[]="rts_threshold"; @@ -15,7 +16,11 @@ const char CW_RADIOITEM80211_LONG_RETRY[]="long_retry"; const char CW_RADIOITEM80211_TX_MSDU_LIFETIME[]="tx_msdu_lifetime"; const char CW_RADIOITEM80211_RX_MSDU_LIFETIME[]="rx_msdu_lifetime"; - +/* Radio Config Items */ +const char CW_RADIOITEM80211_SHORT_PREAMBLE[]="short_preamble"; +const char CW_RADIOITEM80211_NUM_BSS_IDS[]="num_bss_ids"; +const char CW_RADIOITEM80211_BEACON_PERIOD[]="beacon_period"; +const char CW_RADIOITEM80211_COUNTRY_STRING[]="country_string"; struct cw_itemdef capwap80211_itemdefs[] = { @@ -32,6 +37,7 @@ struct cw_itemdef capwap80211_itemdefs[] = { struct cw_itemdef capwap80211_radioitemdefs[] = { {CW_RADIOITEM80211_SUPPORTED_RATES,CW_ITEM_NONE,CAPWAP80211_TYPE_RATESET}, + {CW_RADIOITEM80211_RATE_SET,CW_ITEM_NONE,CAPWAP80211_TYPE_RATESET}, {CW_RADIOITEM80211_WTP_RADIO_INFORMATION,CW_ITEM_NONE,MBAG_DWORD}, /* MAC Operation */ @@ -41,6 +47,12 @@ struct cw_itemdef capwap80211_radioitemdefs[] = { {CW_RADIOITEM80211_FRAGMENTATION_THRESHOLD,CW_ITEM_NONE,MBAG_WORD}, {CW_RADIOITEM80211_TX_MSDU_LIFETIME,CW_ITEM_NONE,MBAG_DWORD}, {CW_RADIOITEM80211_RX_MSDU_LIFETIME,CW_ITEM_NONE,MBAG_DWORD}, + + /* Radio Config Items */ + {CW_RADIOITEM80211_SHORT_PREAMBLE,CW_ITEM_NONE,MBAG_BYTE}, + {CW_RADIOITEM80211_NUM_BSS_IDS,CW_ITEM_NONE,MBAG_BYTE}, + {CW_RADIOITEM80211_BEACON_PERIOD,CW_ITEM_NONE,MBAG_WORD}, + {CW_RADIOITEM80211_COUNTRY_STRING,CW_ITEM_NONE,MBAG_BSTR16}, {CW_ITEM_NONE} }; diff --git a/src/cw/capwap80211_items.h b/src/cw/capwap80211_items.h index ab0c4163..7d64bd18 100644 --- a/src/cw/capwap80211_items.h +++ b/src/cw/capwap80211_items.h @@ -4,6 +4,7 @@ #include "item.h" extern const char CW_RADIOITEM80211_SUPPORTED_RATES[]; +extern const char CW_RADIOITEM80211_RATE_SET[]; extern const char CW_RADIOITEM80211_WTP_RADIO_INFORMATION[]; extern struct cw_itemdef capwap80211_itemdefs[];