wlcore/wl18xx: fw logger over sdio
PATCH v2 1/1 wlcore/wl18xx: fw logger over sdio
From: Shahar Patury <[email protected]>
enable the FW Logger to work over the SDIO interface instead of only over UART.
in new design we will use fw internal memory instead of packet ram that was used in older (and wl12xx) design.
this change will reduce the impact on tp and stability. adding new event to notify fw logger is ready to be read. adding dynamic configuration to debugfs.
---
V2: Resubmitted again due to conflicts resolved
drivers/net/wireless/ti/wl18xx/event.c | 2 + drivers/net/wireless/ti/wl18xx/main.c | 3 +- drivers/net/wireless/ti/wlcore/debugfs.c | 60 ++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 1 deletions(-)
drivers/net/wireless/ti/wl18xx/event.c +2 -0
@@ -205,6 +205,8 @@ int wl18xx_process_mailbox_events(struct wl1271 *wl) mbox->sc_ssid, mbox->sc_pwd_len, mbox->sc_pwd); +if (vector &FW_LOGGER_INDICATION ) +wlcore_event_fw_logger (wl);return 0 ; }
drivers/net/wireless/ti/wl18xx/main.c +2 -1
@@ -1029,7 +1029,8 @@ static int wl18xx_boot(struct wl1271 *wl)DFS_CHANNELS_CONFIG_COMPLETE_EVENT |SMART_CONFIG_SYNC_EVENT_ID |SMART_CONFIG_DECODE_EVENT_ID | -TIME_SYNC_EVENT_ID ; +TIME_SYNC_EVENT_ID | +FW_LOGGER_INDICATION ; wl->ap_event_mask =MAX_TX_FAILURE_EVENT_ID ;
drivers/net/wireless/ti/wlcore/debugfs.c +60 -0
72 lines not on this page · raw message
Signature · 1 line
1.7.0.4
kbuild test robot
build botreproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree…
Hi Shahar,
[auto build test ERROR on net-next/master]
[also build test ERROR on v4.4-rc3 next-20151127]
url: https://github.com/0day-ci/linux/commits/Guy-Mishol/wlcore-wl18xx-fw-logger-over-sdio/20151202-212336 config: mips-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=mips
All errors (new ones prefixed by >>):
drivers/net/wireless/ti/wl18xx/main.c: In function 'wl18xx_boot':
>> drivers/net/wireless/ti/wl18xx/main.c:1033:3: error: 'FW_LOGGER_INDICATION' undeclared (first use in this function)
FW_LOGGER_INDICATION;
^
drivers/net/wireless/ti/wl18xx/main.c:1033:3: note: each undeclared identifier is reported only once for each function it appears in
--
drivers/net/wireless/ti/wl18xx/event.c: In function 'wl18xx_process_mailbox_events':
>> drivers/net/wireless/ti/wl18xx/event.c:208:15: error: 'FW_LOGGER_INDICATION' undeclared (first use in this function)
if (vector & FW_LOGGER_INDICATION)
^
drivers/net/wireless/ti/wl18xx/event.c:208:15: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/net/wireless/ti/wl18xx/event.c:209:3: error: implicit declaration of function 'wlcore_event_fw_logger' [-Werror=implicit-function-declaration]
wlcore_event_fw_logger(wl);
^cc1: some warnings being treated as errors
vim +/FW_LOGGER_INDICATION +1033 drivers/net/wireless/ti/wl18xx/main.c
1027 INACTIVE_STA_EVENT_ID |
1028 CHANNEL_SWITCH_COMPLETE_EVENT_ID |
1029 DFS_CHANNELS_CONFIG_COMPLETE_EVENT |
1030 SMART_CONFIG_SYNC_EVENT_ID |
1031 SMART_CONFIG_DECODE_EVENT_ID |
1032 TIME_SYNC_EVENT_ID |
> 1033 FW_LOGGER_INDICATION;
1034
1035 wl->ap_event_mask = MAX_TX_FAILURE_EVENT_ID;
1036
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation