|
@@ -1086,6 +1086,7 @@ mwifiex_update_bss_desc_with_ie(struct mwifiex_adapter *adapter,
|
|
struct ieee_types_vendor_specific *vendor_ie;
|
|
struct ieee_types_vendor_specific *vendor_ie;
|
|
const u8 wpa_oui[4] = { 0x00, 0x50, 0xf2, 0x01 };
|
|
const u8 wpa_oui[4] = { 0x00, 0x50, 0xf2, 0x01 };
|
|
const u8 wmm_oui[4] = { 0x00, 0x50, 0xf2, 0x02 };
|
|
const u8 wmm_oui[4] = { 0x00, 0x50, 0xf2, 0x02 };
|
|
|
|
+ struct ieee80211_tim_ie *tim_ie;
|
|
|
|
|
|
found_data_rate_ie = false;
|
|
found_data_rate_ie = false;
|
|
rate_size = 0;
|
|
rate_size = 0;
|
|
@@ -1258,6 +1259,11 @@ mwifiex_update_bss_desc_with_ie(struct mwifiex_adapter *adapter,
|
|
sizeof(struct ieee_types_header) -
|
|
sizeof(struct ieee_types_header) -
|
|
bss_entry->beacon_buf);
|
|
bss_entry->beacon_buf);
|
|
break;
|
|
break;
|
|
|
|
+ case WLAN_EID_TIM:
|
|
|
|
+ tim_ie = (void *) (current_ptr +
|
|
|
|
+ sizeof(struct ieee_types_header));
|
|
|
|
+ bss_entry->dtim_period = tim_ie->dtim_period;
|
|
|
|
+ break;
|
|
default:
|
|
default:
|
|
break;
|
|
break;
|
|
}
|
|
}
|