> > Hi Robert, > > The fix I suggested yesterday still leaves some debug dmesgs. > > I tried to eliminate DBG entirely. > However, make with -DDBG removed from os/linux/config.mk lines 290:293 > > # config for STA mode > > ifeq ($(RT28xx_MODE),STA) > --WFLAGS += -DCONFIG_STA_SUPPORT -DSCAN_SUPPORT -DDBG > ++WFLAGS += -DCONFIG_STA_SUPPORT -DSCAN_SUPPORT > > causes build errors in /sta/sta_cfg.c: > /home/tmp/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c:8278:4: > > error: implicit declaration of function âRTMPIoctlMACâ > [-Werror=implicit-function-declaration] > /home/tmp/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c:8282:4: > > error: implicit declaration of function âRTMPIoctlE2PROMâ > [-Werror=implicit-function-declaration] > /home/tmp/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c:8286:4: > > error: implicit declaration of function âRTMPIoctlRFâ > [-Werror=implicit-function-declaration] > > > This can be fixed by adding in an #ifdef DBG...#endif wrapper into: > sta/sta_cfg.c line 8276:8288 > > -- > ++#ifdef DBG //Include if DBG on > case CMD_RTPRIV_IOCTL_MAC: > RTMPIoctlMAC(pAd, pRequest); > break; > > case CMD_RTPRIV_IOCTL_E2P: > RTMPIoctlE2PROM(pAd, pRequest); > break; > > case CMD_RTPRIV_IOCTL_RF: > RTMPIoctlRF(pAd, pRequest); > break; > -- > ++#endif > > The above case statements need to be wrapped in an #ifdef DBG ... #endif, > same as sta/sta_ioctl.c lines 2622:2638: > > #ifdef DBG > case RTPRIV_IOCTL_MAC: > RTMP_STA_IoctlHandle(pAd, wrq, CMD_RTPRIV_IOCTL_MAC, 0, > NULL, 0, > RT_DEV_PRIV_FLAGS_GET(net_dev)); > /* RTMPIoctlMAC(pAd, wrq); */ > break; > case RTPRIV_IOCTL_E2P: > RTMP_STA_IoctlHandle(pAd, wrq, CMD_RTPRIV_IOCTL_E2P, 0, > NULL, 0, > RT_DEV_PRIV_FLAGS_GET(net_dev)); > /* RTMPIoctlE2PROM(pAd, wrq); */ > break; > case RTPRIV_IOCTL_RF: > RTMP_STA_IoctlHandle(pAd, wrq, CMD_RTPRIV_IOCTL_RF, 0, > NULL, 0, > RT_DEV_PRIV_FLAGS_GET(net_dev)); > /* RTMPIoctlRF(pAd, wrq); */ > break; > #endif /* DBG */ > > By the way, a quick compare of the WNA1100 (22% RX dropped) and UWN200 > (<4% RX dropped). > Looks like the big antenna makes a difference! >
Thanks - Eamonn -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.