Hello, setting vendor elements in hostapd works great - but I need to add these custom elements to assoc/reassoc management frames in station mode. Given that the vendor elements option in hostapd works great would it be possible to patch wpa_supplicant for it to work in station mode too? Does nl80211 allow setting NL80211_ATTR_IE for station mode management frames? Also what are the 'evil hacks' you are talking about? On Fri, Aug 16, 2019 at 06:07:02AM +0200, Sebastian Gottschall wrote: > Hello > > Since i already have done this for dd-wrt for mac80211 i can tell you, its > not easy but possible. the most easy way for broadcasting a custom IE > is just adding a custom IE with its properties to the hostapd configuration. > it does allow to set such properties > so you dont need to change anything in mac80211 which requires some evil > hacks > > Am 15.08.2019 um 17:28 schrieb Josef Miegl: > > I've been trying to implement Mikrotik IE. It is a vendor IE that > > carries stuff like radio name. Even though it is Mikrotik specific, UBNT > > has a patch for madwifi: > > https://github.com/jhairtt/ubnt-hal-0.7.379/blob/master/patches/madwifi-dfs-r3319-20080201/074-mtik-ie.patch > > > > The IE is sent in beacon and assoc/reassoc frames. I think the correct > > place for this is mac80211, but I'm not sure how should I expose a > > switch to this functionality. Is there something like ioctl, or do I have > > to implement a switch in nl80211, then in cfg80211 and then finally in > > mac80211? > > > > Any advice is greatly appreciated. > >