Lines Matching full:mac

18 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()
110 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() argument
119 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth()
126 mac->macid, vif->vifid); in qtnf_event_handle_sta_deauth()
133 pr_debug("VIF%u.%u: MAC:%pM reason:%x\n", mac->macid, vif->vifid, in qtnf_event_handle_sta_deauth()
148 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_bss_join()
163 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_join()
170 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_join()
175 vif->mac->macid, vif->vifid, join_info->bssid, status); in qtnf_event_handle_bss_join()
182 pr_warn("MAC%u.%u: bad channel freq=%u cf1=%u cf2=%u bw=%u\n", in qtnf_event_handle_bss_join()
183 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
197 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
202 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
211 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
229 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
284 vif->mac->macid, vif->vifid, payload_len); in qtnf_event_handle_bss_join()
309 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_leave()
316 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave()
320 pr_debug("VIF%u.%u: disconnected\n", vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave()
342 vif->mac->macid, vif->vifid, len, min_len); in qtnf_event_handle_mgmt_received()
365 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_scan_results()
376 pr_err("VIF%u.%u: payload is too short\n", vif->mac->macid, in qtnf_event_handle_scan_results()
384 vif->mac->macid, vif->vifid, le16_to_cpu(sr->freq)); in qtnf_event_handle_scan_results()
448 qtnf_event_handle_scan_complete(struct qtnf_wmac *mac, in qtnf_event_handle_scan_complete() argument
453 pr_err("MAC%u: payload is too short\n", mac->macid); in qtnf_event_handle_scan_complete()
457 qtnf_scan_done(mac, le32_to_cpu(status->flags) & QLINK_SCAN_ABORTED); in qtnf_event_handle_scan_complete()
463 qtnf_event_handle_freq_change(struct qtnf_wmac *mac, in qtnf_event_handle_freq_change() argument
467 struct wiphy *wiphy = priv_to_wiphy(mac); in qtnf_event_handle_freq_change()
473 pr_err("MAC%u: payload is too short\n", mac->macid); in qtnf_event_handle_freq_change()
483 pr_err("MAC%u: bad channel freq=%u cf1=%u cf2=%u bw=%u\n", in qtnf_event_handle_freq_change()
484 mac->macid, chandef.chan->center_freq, in qtnf_event_handle_freq_change()
490 pr_debug("MAC%d: new channel ieee=%u freq1=%u freq2=%u bw=%u\n", in qtnf_event_handle_freq_change()
491 mac->macid, chandef.chan->hw_value, chandef.center_freq1, in qtnf_event_handle_freq_change()
495 vif = &mac->iflist[i]; in qtnf_event_handle_freq_change()
519 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_radar()
523 pr_err("MAC%u: payload is too short\n", vif->mac->macid); in qtnf_event_handle_radar()
533 pr_err("MAC%u: bad channel f1=%u f2=%u bw=%u\n", in qtnf_event_handle_radar()
534 vif->mac->macid, in qtnf_event_handle_radar()
589 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_external_auth()
593 pr_err("MAC%u: payload is too short\n", vif->mac->macid); in qtnf_event_handle_external_auth()
620 static int qtnf_event_parse(struct qtnf_wmac *mac, in qtnf_event_parse() argument
634 vif = &mac->iflist[event->vifid]; in qtnf_event_parse()
642 ret = qtnf_event_handle_sta_assoc(mac, vif, (const void *)event, in qtnf_event_parse()
646 ret = qtnf_event_handle_sta_deauth(mac, vif, in qtnf_event_parse()
659 ret = qtnf_event_handle_scan_complete(mac, (const void *)event, in qtnf_event_parse()
671 ret = qtnf_event_handle_freq_change(mac, (const void *)event, in qtnf_event_parse()
694 struct qtnf_wmac *mac; in qtnf_event_process_skb() local
704 mac = qtnf_core_get_mac(bus, event->macid); in qtnf_event_process_skb()
706 pr_debug("new event id:%x len:%u mac:%u vif:%u\n", in qtnf_event_process_skb()
710 if (unlikely(!mac)) in qtnf_event_process_skb()
714 res = qtnf_event_parse(mac, skb); in qtnf_event_process_skb()