wl18xx: add radar detection implementation
Add support for CAC start/stop commands, and pass radar detection events from the fw to mac80211. Bump fw name (to wl18xx-fw-4.bin) and min fw version (to 8.9.*.*.11), and align event mailbox accordingly. Signed-off-by: Guy Mishol <guym@ti.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
此提交包含在:
@@ -655,7 +655,7 @@ static const struct wl18xx_clk_cfg wl18xx_clk_table[NUM_CLOCK_CONFIGS] = {
|
||||
};
|
||||
|
||||
/* TODO: maybe move to a new header file? */
|
||||
#define WL18XX_FW_NAME "ti-connectivity/wl18xx-fw-3.bin"
|
||||
#define WL18XX_FW_NAME "ti-connectivity/wl18xx-fw-4.bin"
|
||||
|
||||
static int wl18xx_identify_chip(struct wl1271 *wl)
|
||||
{
|
||||
@@ -990,6 +990,7 @@ static int wl18xx_boot(struct wl1271 *wl)
|
||||
|
||||
wl->event_mask = BSS_LOSS_EVENT_ID |
|
||||
SCAN_COMPLETE_EVENT_ID |
|
||||
RADAR_DETECTED_EVENT_ID |
|
||||
RSSI_SNR_TRIGGER_0_EVENT_ID |
|
||||
PERIODIC_SCAN_COMPLETE_EVENT_ID |
|
||||
PERIODIC_SCAN_REPORT_EVENT_ID |
|
||||
@@ -1703,6 +1704,7 @@ static struct wlcore_ops wl18xx_ops = {
|
||||
.interrupt_notify = wl18xx_acx_interrupt_notify_config,
|
||||
.rx_ba_filter = wl18xx_acx_rx_ba_filter,
|
||||
.ap_sleep = wl18xx_acx_ap_sleep,
|
||||
.set_cac = wl18xx_cmd_set_cac,
|
||||
};
|
||||
|
||||
/* HT cap appropriate for wide channels in 2Ghz */
|
||||
|
新增問題並參考
封鎖使用者