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()
222 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
290 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_leave()
297 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave()
301 pr_debug("VIF%u.%u: disconnected\n", vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave()
323 vif->mac->macid, vif->vifid, len, min_len); in qtnf_event_handle_mgmt_received()
346 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_scan_results()
356 pr_err("VIF%u.%u: payload is too short\n", vif->mac->macid, in qtnf_event_handle_scan_results()
364 vif->mac->macid, vif->vifid, le16_to_cpu(sr->freq)); in qtnf_event_handle_scan_results()
421 qtnf_event_handle_scan_complete(struct qtnf_wmac *mac, in qtnf_event_handle_scan_complete() argument
426 pr_err("MAC%u: payload is too short\n", mac->macid); in qtnf_event_handle_scan_complete()
430 qtnf_scan_done(mac, le32_to_cpu(status->flags) & QLINK_SCAN_ABORTED); in qtnf_event_handle_scan_complete()
436 qtnf_event_handle_freq_change(struct qtnf_wmac *mac, in qtnf_event_handle_freq_change() argument
440 struct wiphy *wiphy = priv_to_wiphy(mac); in qtnf_event_handle_freq_change()
446 pr_err("MAC%u: payload is too short\n", mac->macid); in qtnf_event_handle_freq_change()
457 mac->macid, chandef.chan->center_freq, in qtnf_event_handle_freq_change()
464 mac->macid, chandef.chan->hw_value, chandef.center_freq1, in qtnf_event_handle_freq_change()
468 vif = &mac->iflist[i]; in qtnf_event_handle_freq_change()
492 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_radar()
496 pr_err("MAC%u: payload is too short\n", vif->mac->macid); in qtnf_event_handle_radar()
507 vif->mac->macid, in qtnf_event_handle_radar()
562 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_external_auth()
566 pr_err("MAC%u: payload is too short\n", vif->mac->macid); in qtnf_event_handle_external_auth()
600 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_mic_failure()
605 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_mic_failure()
615 vif->mac->macid, vif->vifid); in qtnf_event_handle_mic_failure()
636 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_update_owe()
643 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_update_owe()
653 vif->mac->macid, vif->vifid); in qtnf_event_handle_update_owe()
676 static int qtnf_event_parse(struct qtnf_wmac *mac, in qtnf_event_parse() argument
696 vif = &mac->iflist[vifid]; in qtnf_event_parse()
700 ret = qtnf_event_handle_sta_assoc(mac, vif, (const void *)event, in qtnf_event_parse()
704 ret = qtnf_event_handle_sta_deauth(mac, vif, in qtnf_event_parse()
717 ret = qtnf_event_handle_scan_complete(mac, (const void *)event, in qtnf_event_parse()
729 ret = qtnf_event_handle_freq_change(mac, (const void *)event, in qtnf_event_parse()
760 struct qtnf_wmac *mac; in qtnf_event_process_skb() local
770 mac = qtnf_core_get_mac(bus, event->macid); in qtnf_event_process_skb()
776 if (unlikely(!mac)) in qtnf_event_process_skb()
780 res = qtnf_event_parse(mac, skb); in qtnf_event_process_skb()