> > > > I think you need to define the bits somewhere in an enum - i.e. > > > which one is VO, > > > VI, ... > > > > > > > [Tamizh] ok sure. Is this for documentation purpose or do you want me > > to use that enum for something else? > > Well I think you should check in cfg80211 that no bits not defined in the enum > are used, [Tamizh] I'm planning to do this check in iw itself and converting into a value, iw command will looks like below iw btcoex enable [<be> <bk> <vo> <vi> <mgmt><beacon>] If anything other than this given by user will be rejected and will not forward to cfg80211. Do you have any concern on this? >and then in the driver you need to use that enum to translate to the > firmware API, right? > [Tamizh] Yes, we can have this for checking invalid or the value is greater the driver support value