2013/1/14 Kalle Valo <kvalo@xxxxxxxxxx>: > Eugene <wifi.mailing.list@xxxxxxxxx> writes: > >> How to add custom configuration command for cfg80211 based driver. >> >> For WEXT was private IOCtls (iwpriv). >> >> What the recommended way for nl80211/cfg80211? > > Luckily private commands are now banned, it was such a mess. Now you add > a new generic command to nl80211/cfg80211 so that all drivers can use > it. The benefit is that the driver can be changed without any > modifications to user space. That's really good benefit. But as a disadvantage for that approach required changes for kernel, which cannot be done real-time (insmod for example). > > Only exceptions are NL80211_CMD_TESTMODE for low level factory/RF tests > and debugfs for developer debugging purposes. > Hmm... That's good point for testing, but still unusable for production. > -- > Kalle Valo Why kernel do not support custom commands, like TESTMODE? The reason is to unify all drivers? But what about new (or proprietary) features, use kernel patches only? -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html