wireless: Add channel/frequency conversions to ieee80211.h
Added mappings for FHSS, DSSS and OFDM channels - with macros to point HR DSSS and ERP to the DSSS mappings. Currently just static inline functions. Use the new functions in the older fullmac drivers. This eliminates a number of const static buffers and removes a couple of range checks that are now redundant. Signed-off-by: NDavid Kilroy <kilroyd@googlemail.com> Acked-by: NArnaldo Carvalho de Melo <acme@redhat.com> Acked-by: NRichard Farina <sidhayn@gmail.com> Acked-by: NJeroen Vreeken <pe1rxq@amsat.org> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
Showing
想要评论请 注册 或 登录