|
@@ -7530,37 +7530,6 @@ void lim_decrement_pending_mgmt_count(struct mac_context *mac_ctx)
|
|
|
qdf_spin_unlock(&mac_ctx->sys.bbt_mgmt_lock);
|
|
|
}
|
|
|
|
|
|
-struct csr_roam_session *lim_get_session_by_macaddr(struct mac_context *mac_ctx,
|
|
|
- tSirMacAddr self_mac)
|
|
|
-{
|
|
|
- int i = 0;
|
|
|
- struct csr_roam_session *session;
|
|
|
-
|
|
|
- if (!mac_ctx || !self_mac) {
|
|
|
- QDF_TRACE(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_ERROR,
|
|
|
- FL("Invalid arguments"));
|
|
|
- return NULL;
|
|
|
- }
|
|
|
-
|
|
|
- for (i = 0; i < mac_ctx->sme.max_intf_count; i++) {
|
|
|
- session = CSR_GET_SESSION(mac_ctx, i);
|
|
|
- if (!session)
|
|
|
- continue;
|
|
|
- else if (!qdf_mem_cmp(&session->self_mac_addr,
|
|
|
- self_mac, sizeof(tSirMacAddr))) {
|
|
|
-
|
|
|
- QDF_TRACE(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_INFO,
|
|
|
- FL("session %d exists with mac address "
|
|
|
- QDF_MAC_ADDR_STR), session->sessionId,
|
|
|
- QDF_MAC_ADDR_ARRAY(self_mac));
|
|
|
-
|
|
|
- return session;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- return NULL;
|
|
|
-}
|
|
|
-
|
|
|
bool lim_check_if_vendor_oui_match(struct mac_context *mac_ctx,
|
|
|
uint8_t *oui, uint8_t oui_len,
|
|
|
uint8_t *ie, uint8_t ie_len)
|