brcm80211: moved power conversion functions
Moved brcmu_mw_to_qdbm and brcmu_qdbm_to_mw functions into the only file using them. Names were adjusted accordingly. Reported-by: Johannes Berg <johannes@sipsolutions.net> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Reviewed-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
f53b170f46
commit
ef6ac17a20
@@ -212,10 +212,6 @@ extern char *brcmu_chipname(uint chipid, char *buf, uint len);
|
||||
extern struct brcmu_tlv *brcmu_parse_tlvs(void *buf, int buflen,
|
||||
uint key);
|
||||
|
||||
/* power conversion */
|
||||
extern u16 brcmu_qdbm_to_mw(u8 qdbm);
|
||||
extern u8 brcmu_mw_to_qdbm(u16 mw);
|
||||
|
||||
extern uint brcmu_mkiovar(char *name, char *data, uint datalen,
|
||||
char *buf, uint len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user