Thread (11 messages) flat view 11 messages, 3 authors, 2014-08-12

Re: [PATCH] allow setting wiphy.perm_addr after driver probe

From: Jonas Gorski <hidden>
Date: 2014-08-12 08:44:17
Also in: linux-wireless, lkml

On Tue, Aug 12, 2014 at 9:59 AM, Marcel Holtmann [off-list ref] wrote:
Hi Daniel,
quoted
quoted
the way I read the nl80211 code is that the NL80211_CMD_NEW_INTERFACE
requires a wiphy device to be specified. And that is actually just a
number. So I have no idea what the MAC has to here.
OpenWrt finds a wiphy by its MAC.
maybe that is the first problem right there. I see that over sysfs you get phy80211/macaddress. However if you do a dump via NL80211_CMD_GET_WIPHY then you do not have the MAC address there.
OpenWrt nowadays uses the device path in sysfs/devices to identify
wiphys, not the mac anymore (e.g 'pci0000:00/0000:00:01.0/ssb0:0').


Jonas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help