Lines Matching refs:mac
19 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() argument
34 mac->macid, vif->vifid, len, sizeof(*sta_assoc)); in qtnf_event_handle_sta_assoc()
40 mac->macid, vif->vifid); in qtnf_event_handle_sta_assoc()
51 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, in qtnf_event_handle_sta_assoc()
102 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() argument
111 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth()
118 mac->macid, vif->vifid); in qtnf_event_handle_sta_deauth()
125 pr_debug("VIF%u.%u: MAC:%pM reason:%x\n", mac->macid, vif->vifid, in qtnf_event_handle_sta_deauth()
140 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_bss_join()
154 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_join()
161 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_join()
166 vif->mac->macid, vif->vifid, join_info->bssid, in qtnf_event_handle_bss_join()
175 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
189 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
194 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
203 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
221 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
289 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_leave()
296 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave()
300 pr_debug("VIF%u.%u: disconnected\n", vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave()
322 vif->mac->macid, vif->vifid, len, min_len); in qtnf_event_handle_mgmt_received()
345 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_scan_results()
355 pr_err("VIF%u.%u: payload is too short\n", vif->mac->macid, in qtnf_event_handle_scan_results()
363 vif->mac->macid, vif->vifid, le16_to_cpu(sr->freq)); in qtnf_event_handle_scan_results()
420 qtnf_event_handle_scan_complete(struct qtnf_wmac *mac, in qtnf_event_handle_scan_complete() argument
425 pr_err("MAC%u: payload is too short\n", mac->macid); in qtnf_event_handle_scan_complete()
429 qtnf_scan_done(mac, le32_to_cpu(status->flags) & QLINK_SCAN_ABORTED); in qtnf_event_handle_scan_complete()
435 qtnf_event_handle_freq_change(struct qtnf_wmac *mac, in qtnf_event_handle_freq_change() argument
439 struct wiphy *wiphy = priv_to_wiphy(mac); in qtnf_event_handle_freq_change()
445 pr_err("MAC%u: payload is too short\n", mac->macid); in qtnf_event_handle_freq_change()
456 mac->macid, chandef.chan->center_freq, in qtnf_event_handle_freq_change()
463 mac->macid, chandef.chan->hw_value, chandef.center_freq1, in qtnf_event_handle_freq_change()
467 vif = &mac->iflist[i]; in qtnf_event_handle_freq_change()
491 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_radar()
495 pr_err("MAC%u: payload is too short\n", vif->mac->macid); in qtnf_event_handle_radar()
506 vif->mac->macid, in qtnf_event_handle_radar()
561 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_external_auth()
565 pr_err("MAC%u: payload is too short\n", vif->mac->macid); in qtnf_event_handle_external_auth()
599 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_mic_failure()
604 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_mic_failure()
614 vif->mac->macid, vif->vifid); in qtnf_event_handle_mic_failure()
635 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_update_owe()
642 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_update_owe()
652 vif->mac->macid, vif->vifid); in qtnf_event_handle_update_owe()
674 static int qtnf_event_parse(struct qtnf_wmac *mac, in qtnf_event_parse() argument
694 vif = &mac->iflist[vifid]; in qtnf_event_parse()
698 ret = qtnf_event_handle_sta_assoc(mac, vif, (const void *)event, in qtnf_event_parse()
702 ret = qtnf_event_handle_sta_deauth(mac, vif, in qtnf_event_parse()
715 ret = qtnf_event_handle_scan_complete(mac, (const void *)event, in qtnf_event_parse()
727 ret = qtnf_event_handle_freq_change(mac, (const void *)event, in qtnf_event_parse()
758 struct qtnf_wmac *mac; in qtnf_event_process_skb() local
768 mac = qtnf_core_get_mac(bus, event->macid); in qtnf_event_process_skb()
774 if (unlikely(!mac)) in qtnf_event_process_skb()
778 res = qtnf_event_parse(mac, skb); in qtnf_event_process_skb()