Lines Matching refs:mac

31 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif,  in qtnf_event_handle_sta_assoc()  argument
47 mac->macid, vif->vifid, len, sizeof(*sta_assoc)); in qtnf_event_handle_sta_assoc()
53 mac->macid, vif->vifid); in qtnf_event_handle_sta_assoc()
64 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, in qtnf_event_handle_sta_assoc()
123 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() argument
132 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth()
139 mac->macid, vif->vifid); in qtnf_event_handle_sta_deauth()
146 pr_debug("VIF%u.%u: MAC:%pM reason:%x\n", mac->macid, vif->vifid, in qtnf_event_handle_sta_deauth()
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()
176 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_join()
180 pr_debug("VIF%u.%u: BSSID:%pM\n", vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join()
203 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_leave()
210 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave()
216 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave()
218 pr_debug("VIF%u.%u: disconnected\n", vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave()
242 vif->mac->macid, vif->vifid, len, min_len); in qtnf_event_handle_mgmt_received()
265 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_scan_results()
276 pr_err("VIF%u.%u: payload is too short\n", vif->mac->macid, in qtnf_event_handle_scan_results()
284 vif->mac->macid, vif->vifid, le16_to_cpu(sr->freq)); in qtnf_event_handle_scan_results()
348 qtnf_event_handle_scan_complete(struct qtnf_wmac *mac, in qtnf_event_handle_scan_complete() argument
353 pr_err("MAC%u: payload is too short\n", mac->macid); in qtnf_event_handle_scan_complete()
357 qtnf_scan_done(mac, le32_to_cpu(status->flags) & QLINK_SCAN_ABORTED); in qtnf_event_handle_scan_complete()
363 qtnf_event_handle_freq_change(struct qtnf_wmac *mac, in qtnf_event_handle_freq_change() argument
367 struct wiphy *wiphy = priv_to_wiphy(mac); in qtnf_event_handle_freq_change()
373 pr_err("MAC%u: payload is too short\n", mac->macid); in qtnf_event_handle_freq_change()
384 mac->macid, chandef.chan->center_freq, in qtnf_event_handle_freq_change()
391 mac->macid, chandef.chan->hw_value, chandef.center_freq1, in qtnf_event_handle_freq_change()
395 vif = &mac->iflist[i]; in qtnf_event_handle_freq_change()
413 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_radar()
417 pr_err("MAC%u: payload is too short\n", vif->mac->macid); in qtnf_event_handle_radar()
428 vif->mac->macid, in qtnf_event_handle_radar()
477 static int qtnf_event_parse(struct qtnf_wmac *mac, in qtnf_event_parse() argument
491 vif = &mac->iflist[event->vifid]; in qtnf_event_parse()
499 ret = qtnf_event_handle_sta_assoc(mac, vif, (const void *)event, in qtnf_event_parse()
503 ret = qtnf_event_handle_sta_deauth(mac, vif, in qtnf_event_parse()
516 ret = qtnf_event_handle_scan_complete(mac, (const void *)event, in qtnf_event_parse()
528 ret = qtnf_event_handle_freq_change(mac, (const void *)event, in qtnf_event_parse()
547 struct qtnf_wmac *mac; in qtnf_event_process_skb() local
557 mac = qtnf_core_get_mac(bus, event->macid); in qtnf_event_process_skb()
563 if (unlikely(!mac)) in qtnf_event_process_skb()
567 res = qtnf_event_parse(mac, skb); in qtnf_event_process_skb()