jeff
September 3, 2018, 3:13am
1
Seen booting ath79 from today's master on Archer C7 v2 -- 4.14.67 (first ath79 boot, so history unknown)
2018 Sep 2 18:39:43 devel warning kernel: [ 35.039433] batman_adv: Unknown symbol cfg80211_get_station (err 0)
batman-adv seems to be working, but I don't see this warning on my ar71xx builds 4.9.124.
Anyone else seen anything similar?
#if IS_ENABLED(CONFIG_CFG80211)
/**
* cfg80211_get_station - retrieve information about a given station
* @dev: the device where the station is supposed to be connected to
* @mac_addr: the mac address of the station of interest
* @sinfo: pointer to the structure to fill with the information
*
* Returns 0 on success and sinfo is filled with the available information
* otherwise returns a negative error code and the content of sinfo has to be
* considered undefined.
*/
int cfg80211_get_station(struct net_device *dev, const u8 *mac_addr,
struct station_info *sinfo);
#else
static inline int cfg80211_get_station(struct net_device *dev,
const u8 *mac_addr,
struct station_info *sinfo)
{
return -ENOENT;
}
#endif
Checking make menuconfig
for the ath79 build shows
-*- kmod-cfg80211...................... cfg80211 - wireless configuration API
and the module is loaded
cfg80211 225700 7 ath9k,ath9k_htc,ath9k_common,batman_adv,ath10k_core,ath,mac80211
and the symbol looks like its there when the system comes up and is interactive
$ sudo cat /proc/kallsyms | fgrep cfg80211_get_station
87683dc0 T cfg80211_get_station [cfg80211]
I'm booting my ath79 WNDR3700 to double check (don't have batman on it). I just built with kallsyms enabled and I'm getting this. For me, batman-adv
doesn't even compile on master?
root@OpenWrt:~# uname -a
Linux OpenWrt 4.14.67 #0 Mon Sep 3 11:04:08 2018 mips GNU/Linux
root@OpenWrt:~# fgrep cfg80211_get_station /proc/kallsyms
83383dc0 T cfg80211_get_station [cfg80211]
root@OpenWrt:~# dmesg |grep 80211
[ 50.735923] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 50.738893] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=13
[ 65.260369] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 65.263353] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=14