HE: Add HE 6 GHz Band Capabilities into ieee802_11_parse_elems()
Handle 6 GHz band capability element parsing for association. Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org>
This commit is contained in:
parent
b2c0b83c66
commit
88911a0aa4
2 changed files with 6 additions and 0 deletions
|
@ -294,6 +294,11 @@ static int ieee802_11_parse_extension(const u8 *pos, size_t elen,
|
||||||
elems->short_ssid_list = pos;
|
elems->short_ssid_list = pos;
|
||||||
elems->short_ssid_list_len = elen;
|
elems->short_ssid_list_len = elen;
|
||||||
break;
|
break;
|
||||||
|
case WLAN_EID_EXT_HE_6GHZ_BAND_CAP:
|
||||||
|
if (elen < sizeof(struct ieee80211_he_6ghz_band_cap))
|
||||||
|
break;
|
||||||
|
elems->he_6ghz_band_cap = pos;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if (show_errors) {
|
if (show_errors) {
|
||||||
wpa_printf(MSG_MSGDUMP,
|
wpa_printf(MSG_MSGDUMP,
|
||||||
|
|
|
@ -113,6 +113,7 @@ struct ieee802_11_elems {
|
||||||
const u8 *he_capabilities;
|
const u8 *he_capabilities;
|
||||||
const u8 *he_operation;
|
const u8 *he_operation;
|
||||||
const u8 *short_ssid_list;
|
const u8 *short_ssid_list;
|
||||||
|
const u8 *he_6ghz_band_cap;
|
||||||
|
|
||||||
u8 ssid_len;
|
u8 ssid_len;
|
||||||
u8 supp_rates_len;
|
u8 supp_rates_len;
|
||||||
|
|
Loading…
Reference in a new issue