Message ID | 20200519110951.88998-1-chi-hsien.lin@cypress.com (mailing list archive) |
---|---|
Headers | show |
Series | brcmfmac: SoftAP creation and dcmd buffer size changes | expand |
Chi-Hsien Lin <chi-hsien.lin@cypress.com> writes: > Allow SoftAP creation via ioctl from test tool; also update dcmd buffer size > settings for new firmware. Also fix a sparse check error. What ioctl is this exactly? Wireless drivers should be using nl80211, not any ioctl interface.
On 5/19/2020 3:54 PM, Kalle Valo wrote: > Chi-Hsien Lin <chi-hsien.lin@cypress.com> writes: > >> Allow SoftAP creation via ioctl from test tool; also update dcmd buffer size >> settings for new firmware. Also fix a sparse check error. > > What ioctl is this exactly? Wireless drivers should be using nl80211, > not any ioctl interface. Hi Kalle, The terminology is a bit off. This is vendor specific command interfacing directly with firmware and the content is opaque from driver perspective. However, a number of these commands have their nl80211 equivalent. Especially regarding creation of AP interface I would simply go with creation through nl80211. Regards, Arend
Arend Van Spriel <arend.vanspriel@broadcom.com> writes: > On 5/19/2020 3:54 PM, Kalle Valo wrote: >> Chi-Hsien Lin <chi-hsien.lin@cypress.com> writes: >> >>> Allow SoftAP creation via ioctl from test tool; also update dcmd buffer size >>> settings for new firmware. Also fix a sparse check error. >> >> What ioctl is this exactly? Wireless drivers should be using nl80211, >> not any ioctl interface. > > Hi Kalle, > > The terminology is a bit off. This is vendor specific command > interfacing directly with firmware and the content is opaque from > driver perspective. Ah, you mean nl80211 vendor command. That has nothing to do with ioctl :) > However, a number of these commands have their nl80211 equivalent. > Especially regarding creation of AP interface I would simply go with > creation through nl80211. And do note that we have new rules for nl80211 vendor commands: https://wireless.wiki.kernel.org/en/developers/documentation/nl80211#vendor-specific_api