Lines Matching +full:mbox +full:- +full:rx

1 // SPDX-License-Identifier: GPL-2.0-only
67 skb = cfg80211_vendor_event_alloc(wl->hw->wiphy, NULL, 20, in wlcore_smart_config_sync_event()
73 return -EMSGSIZE; in wlcore_smart_config_sync_event()
88 skb = cfg80211_vendor_event_alloc(wl->hw->wiphy, NULL, in wlcore_smart_config_decode_event()
96 return -EMSGSIZE; in wlcore_smart_config_decode_event()
118 struct wl18xx_event_mailbox *mbox = wl->mbox; in wl18xx_process_mailbox_events() local
121 vector = le32_to_cpu(mbox->events_vector); in wl18xx_process_mailbox_events()
122 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); in wl18xx_process_mailbox_events()
126 mbox->number_of_scan_results); in wl18xx_process_mailbox_events()
128 if (wl->scan_wlvif) in wl18xx_process_mailbox_events()
129 wl18xx_scan_completed(wl, wl->scan_wlvif); in wl18xx_process_mailbox_events()
134 le16_to_cpu(mbox->time_sync_tsf_high_msb), in wl18xx_process_mailbox_events()
135 le16_to_cpu(mbox->time_sync_tsf_high_lsb), in wl18xx_process_mailbox_events()
136 le16_to_cpu(mbox->time_sync_tsf_low_msb), in wl18xx_process_mailbox_events()
137 le16_to_cpu(mbox->time_sync_tsf_low_lsb)); in wl18xx_process_mailbox_events()
141 mbox->radar_channel, in wl18xx_process_mailbox_events()
142 wl18xx_radar_type_decode(mbox->radar_type)); in wl18xx_process_mailbox_events()
144 if (!wl->radar_debug_mode) in wl18xx_process_mailbox_events()
145 ieee80211_radar_detected(wl->hw, NULL); in wl18xx_process_mailbox_events()
151 mbox->number_of_sched_scan_results); in wl18xx_process_mailbox_events()
160 wlcore_event_rssi_trigger(wl, mbox->rssi_snr_trigger_metric); in wl18xx_process_mailbox_events()
164 le16_to_cpu(mbox->rx_ba_role_id_bitmap), in wl18xx_process_mailbox_events()
165 le16_to_cpu(mbox->rx_ba_allowed_bitmap)); in wl18xx_process_mailbox_events()
169 le16_to_cpu(mbox->bss_loss_bitmap)); in wl18xx_process_mailbox_events()
173 le16_to_cpu(mbox->channel_switch_role_id_bitmap), in wl18xx_process_mailbox_events()
185 le16_to_cpu(mbox->tx_retry_exceeded_bitmap)); in wl18xx_process_mailbox_events()
189 le16_to_cpu(mbox->inactive_sta_bitmap)); in wl18xx_process_mailbox_events()
195 wlcore_smart_config_sync_event(wl, mbox->sc_sync_channel, in wl18xx_process_mailbox_events()
196 mbox->sc_sync_band); in wl18xx_process_mailbox_events()
200 mbox->sc_ssid_len, in wl18xx_process_mailbox_events()
201 mbox->sc_ssid, in wl18xx_process_mailbox_events()
202 mbox->sc_pwd_len, in wl18xx_process_mailbox_events()
203 mbox->sc_pwd); in wl18xx_process_mailbox_events()
211 u8 link_id = mbox->rx_ba_link_id; in wl18xx_process_mailbox_events()
212 u8 win_size = mbox->rx_ba_win_size; in wl18xx_process_mailbox_events()
215 wlvif = wl->links[link_id].wlvif; in wl18xx_process_mailbox_events()
218 /* Update RX aggregation window size and call in wl18xx_process_mailbox_events()
219 * MAC routine to stop active RX aggregations for this link in wl18xx_process_mailbox_events()
221 if (wlvif->bss_type != BSS_TYPE_AP_BSS) in wl18xx_process_mailbox_events()
222 addr = vif->bss_conf.bssid; in wl18xx_process_mailbox_events()
224 addr = wl->links[link_id].addr; in wl18xx_process_mailbox_events()
228 sta->max_rx_aggregation_subframes = win_size; in wl18xx_process_mailbox_events()
230 wl->links[link_id].ba_bitmap, in wl18xx_process_mailbox_events()