|
@@ -474,47 +474,6 @@ static void lim_stop_reassoc_retry_timer(struct mac_context *mac_ctx)
|
|
|
lim_deactivate_and_change_timer(mac_ctx, eLIM_REASSOC_FAIL_TIMER);
|
|
|
}
|
|
|
|
|
|
-#ifdef WLAN_FEATURE_11W
|
|
|
-static void
|
|
|
-lim_handle_assoc_reject_status(struct mac_context *mac_ctx,
|
|
|
- struct pe_session *session_entry,
|
|
|
- tpSirAssocRsp assoc_rsp,
|
|
|
- tSirMacAddr source_addr)
|
|
|
-{
|
|
|
- struct sir_rssi_disallow_lst ap_info = {{0}};
|
|
|
- uint32_t timeout_value =
|
|
|
- assoc_rsp->TimeoutInterval.timeoutValue;
|
|
|
-
|
|
|
- if (!(session_entry->limRmfEnabled &&
|
|
|
- assoc_rsp->status_code == eSIR_MAC_TRY_AGAIN_LATER &&
|
|
|
- (assoc_rsp->TimeoutInterval.present &&
|
|
|
- (assoc_rsp->TimeoutInterval.timeoutType ==
|
|
|
- SIR_MAC_TI_TYPE_ASSOC_COMEBACK))))
|
|
|
- return;
|
|
|
-
|
|
|
- /*
|
|
|
- * Add to rssi reject list, which takes care of retry
|
|
|
- * delay too. Fill the RSSI as 0, so the only param
|
|
|
- * which will allow the bssid to connect is retry delay.
|
|
|
- */
|
|
|
- ap_info.retry_delay = timeout_value;
|
|
|
- qdf_mem_copy(ap_info.bssid.bytes, source_addr, QDF_MAC_ADDR_SIZE);
|
|
|
- ap_info.expected_rssi = LIM_MIN_RSSI;
|
|
|
- lim_add_bssid_to_reject_list(mac_ctx->pdev, &ap_info);
|
|
|
-
|
|
|
- pe_debug("ASSOC res with eSIR_MAC_TRY_AGAIN_LATER recvd. Add to time reject list(rssi reject in mac_ctx %d",
|
|
|
- timeout_value);
|
|
|
-}
|
|
|
-#else
|
|
|
-static void
|
|
|
-lim_handle_assoc_reject_status(struct mac_context *mac_ctx,
|
|
|
- struct pe_session *session_entry,
|
|
|
- tpSirAssocRsp assoc_rsp,
|
|
|
- tSirMacAddr source_addr)
|
|
|
-{
|
|
|
-}
|
|
|
-#endif
|
|
|
-
|
|
|
uint8_t lim_get_nss_supported_by_ap(tDot11fIEVHTCaps *vht_caps,
|
|
|
tDot11fIEHTCaps *ht_caps,
|
|
|
tDot11fIEhe_cap *he_caps)
|
|
@@ -841,8 +800,6 @@ lim_process_assoc_rsp_frame(struct mac_context *mac_ctx, uint8_t *rx_pkt_info,
|
|
|
return;
|
|
|
}
|
|
|
lim_copy_u16((uint8_t *) &mac_capab, caps);
|
|
|
- lim_handle_assoc_reject_status(mac_ctx, session_entry, assoc_rsp,
|
|
|
- hdr->sa);
|
|
|
|
|
|
if (eSIR_MAC_XS_FRAME_LOSS_POOR_CHANNEL_RSSI_STATUS ==
|
|
|
assoc_rsp->status_code &&
|