Lines Matching full: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()
174 pr_warn("MAC%u.%u: bad channel freq=%u cf1=%u cf2=%u bw=%u\n", 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()
455 pr_err("MAC%u: bad channel freq=%u cf1=%u cf2=%u bw=%u\n", in qtnf_event_handle_freq_change()
456 mac->macid, chandef.chan->center_freq, in qtnf_event_handle_freq_change()
462 pr_debug("MAC%d: new channel ieee=%u freq1=%u freq2=%u bw=%u\n", 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()
505 pr_err("MAC%u: bad channel f1=%u f2=%u bw=%u\n", 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()
597 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_mic_failure()
602 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_mic_failure()
612 vif->mac->macid, vif->vifid); in qtnf_event_handle_mic_failure()
633 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_update_owe()
640 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_update_owe()
650 vif->mac->macid, vif->vifid); in qtnf_event_handle_update_owe()
672 static int qtnf_event_parse(struct qtnf_wmac *mac, in qtnf_event_parse() argument
692 vif = &mac->iflist[vifid]; in qtnf_event_parse()
696 ret = qtnf_event_handle_sta_assoc(mac, vif, (const void *)event, in qtnf_event_parse()
700 ret = qtnf_event_handle_sta_deauth(mac, vif, in qtnf_event_parse()
713 ret = qtnf_event_handle_scan_complete(mac, (const void *)event, in qtnf_event_parse()
725 ret = qtnf_event_handle_freq_change(mac, (const void *)event, in qtnf_event_parse()
756 struct qtnf_wmac *mac; in qtnf_event_process_skb() local
766 mac = qtnf_core_get_mac(bus, event->macid); in qtnf_event_process_skb()
768 pr_debug("new event id:%x len:%u mac:%u vif:%u\n", in qtnf_event_process_skb()
772 if (unlikely(!mac)) in qtnf_event_process_skb()
776 res = qtnf_event_parse(mac, skb); in qtnf_event_process_skb()