Re: [PATCH v3 18/24] wfx: add data_tx.c/data_tx.h

2020-12-22 Thread Kalle Valo
Jerome Pouiller writes: > +void wfx_tx(struct ieee80211_hw *hw, struct ieee80211_tx_control *control, > + struct sk_buff *skb) > +{ > + struct wfx_dev *wdev = hw->priv; > + struct wfx_vif *wvif; > + struct ieee80211_sta *sta = control ? control->sta : NULL; > + struct ieee

Re: [PATCH v3 18/24] wfx: add data_tx.c/data_tx.h

2020-12-22 Thread Kalle Valo
Jerome Pouiller writes: > +static bool ieee80211_is_action_back(struct ieee80211_hdr *hdr) > +{ > + struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)hdr; > + > + if (!ieee80211_is_action(mgmt->frame_control)) > + return false; > + if (mgmt->u.action.category != WLAN_

[PATCH v3 18/24] wfx: add data_tx.c/data_tx.h

2020-11-04 Thread Jerome Pouiller
From: Jérôme Pouiller Signed-off-by: Jérôme Pouiller --- drivers/net/wireless/silabs/wfx/data_tx.c | 585 ++ drivers/net/wireless/silabs/wfx/data_tx.h | 67 +++ 2 files changed, 652 insertions(+) create mode 100644 drivers/net/wireless/silabs/wfx/data_tx.c create mode 100