Lines Matching refs:mac
19 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif,
34 mac->macid, vif->vifid, len, sizeof(*sta_assoc));
40 mac->macid, vif->vifid);
51 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr,
102 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif,
111 mac->macid, vif->vifid, len,
118 mac->macid, vif->vifid);
125 pr_debug("VIF%u.%u: MAC:%pM reason:%x\n", mac->macid, vif->vifid,
140 struct wiphy *wiphy = priv_to_wiphy(vif->mac);
154 vif->mac->macid, vif->vifid, len,
161 vif->mac->macid, vif->vifid);
166 vif->mac->macid, vif->vifid, join_info->bssid,
175 vif->mac->macid, vif->vifid,
189 vif->mac->macid, vif->vifid,
194 vif->mac->macid, vif->vifid,
203 vif->mac->macid, vif->vifid,
222 vif->mac->macid, vif->vifid,
290 vif->mac->macid, vif->vifid, len,
297 vif->mac->macid, vif->vifid);
301 pr_debug("VIF%u.%u: disconnected\n", vif->mac->macid, vif->vifid);
323 vif->mac->macid, vif->vifid, len, min_len);
346 struct wiphy *wiphy = priv_to_wiphy(vif->mac);
356 pr_err("VIF%u.%u: payload is too short\n", vif->mac->macid,
364 vif->mac->macid, vif->vifid, le16_to_cpu(sr->freq));
421 qtnf_event_handle_scan_complete(struct qtnf_wmac *mac,
426 pr_err("MAC%u: payload is too short\n", mac->macid);
430 qtnf_scan_done(mac, le32_to_cpu(status->flags) & QLINK_SCAN_ABORTED);
436 qtnf_event_handle_freq_change(struct qtnf_wmac *mac,
440 struct wiphy *wiphy = priv_to_wiphy(mac);
446 pr_err("MAC%u: payload is too short\n", mac->macid);
457 mac->macid, chandef.chan->center_freq,
464 mac->macid, chandef.chan->hw_value, chandef.center_freq1,
468 vif = &mac->iflist[i];
480 wiphy_lock(priv_to_wiphy(vif->mac));
482 wiphy_unlock(priv_to_wiphy(vif->mac));
492 struct wiphy *wiphy = priv_to_wiphy(vif->mac);
496 pr_err("MAC%u: payload is too short\n", vif->mac->macid);
507 vif->mac->macid,
562 struct wiphy *wiphy = priv_to_wiphy(vif->mac);
566 pr_err("MAC%u: payload is too short\n", vif->mac->macid);
600 struct wiphy *wiphy = priv_to_wiphy(vif->mac);
605 vif->mac->macid, vif->vifid, len,
615 vif->mac->macid, vif->vifid);
636 struct wiphy *wiphy = priv_to_wiphy(vif->mac);
643 vif->mac->macid, vif->vifid, len,
653 vif->mac->macid, vif->vifid);
676 static int qtnf_event_parse(struct qtnf_wmac *mac,
696 vif = &mac->iflist[vifid];
700 ret = qtnf_event_handle_sta_assoc(mac, vif, (const void *)event,
704 ret = qtnf_event_handle_sta_deauth(mac, vif,
717 ret = qtnf_event_handle_scan_complete(mac, (const void *)event,
729 ret = qtnf_event_handle_freq_change(mac, (const void *)event,
760 struct qtnf_wmac *mac;
770 mac = qtnf_core_get_mac(bus, event->macid);
772 pr_debug("new event id:%x len:%u mac:%u vif:%u\n",
776 if (unlikely(!mac))
780 res = qtnf_event_parse(mac, skb);