wil6210: Add EDMG channel support
Add support for Enhanced Directional Multi-Gigabit (EDMG) channels 9-11. wil6210 reports it's EDMG capabilities (that are also based on FW capability) to cfg80211 by filling wiphy->bands[NL80211_BAND_60GHZ]->edmg_cap. wil6210 handles edmg.channels and edmg.bw_config requested in connect and start_ap operations. Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Dieser Commit ist enthalten in:

committet von
Kalle Valo

Ursprung
23bb9f692b
Commit
9abe3e306e
@@ -590,6 +590,7 @@ struct wil_net_stats {
|
||||
unsigned long rx_amsdu_error; /* eDMA specific */
|
||||
unsigned long rx_csum_err;
|
||||
u16 last_mcs_rx;
|
||||
u8 last_cb_mode_rx;
|
||||
u64 rx_per_mcs[WIL_MCS_MAX + 1];
|
||||
u32 ft_roams; /* relevant in STA mode */
|
||||
};
|
||||
@@ -850,6 +851,7 @@ struct wil6210_vif {
|
||||
DECLARE_BITMAP(status, wil_vif_status_last);
|
||||
u32 privacy; /* secure connection? */
|
||||
u16 channel; /* relevant in AP mode */
|
||||
u8 wmi_edmg_channel; /* relevant in AP mode */
|
||||
u8 hidden_ssid; /* relevant in AP mode */
|
||||
u32 ap_isolate; /* no intra-BSS communication */
|
||||
bool pbss;
|
||||
@@ -1335,7 +1337,7 @@ void wil_p2p_wdev_free(struct wil6210_priv *wil);
|
||||
|
||||
int wmi_set_mac_address(struct wil6210_priv *wil, void *addr);
|
||||
int wmi_pcp_start(struct wil6210_vif *vif, int bi, u8 wmi_nettype, u8 chan,
|
||||
u8 hidden_ssid, u8 is_go);
|
||||
u8 edmg_chan, u8 hidden_ssid, u8 is_go);
|
||||
int wmi_pcp_stop(struct wil6210_vif *vif);
|
||||
int wmi_led_cfg(struct wil6210_priv *wil, bool enable);
|
||||
int wmi_abort_scan(struct wil6210_vif *vif);
|
||||
@@ -1412,6 +1414,10 @@ int wmi_mgmt_tx_ext(struct wil6210_vif *vif, const u8 *buf, size_t len,
|
||||
u8 channel, u16 duration_ms);
|
||||
int wmi_rbufcap_cfg(struct wil6210_priv *wil, bool enable, u16 threshold);
|
||||
|
||||
int wil_wmi2spec_ch(u8 wmi_ch, u8 *spec_ch);
|
||||
int wil_spec2wmi_ch(u8 spec_ch, u8 *wmi_ch);
|
||||
void wil_update_supported_bands(struct wil6210_priv *wil);
|
||||
|
||||
int reverse_memcmp(const void *cs, const void *ct, size_t count);
|
||||
|
||||
/* WMI for enhanced DMA */
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren