rtl818x: add comments to explain few not obvious HW configs.
authorandrea merello <andrea.merello@gmail.com>
Tue, 18 Feb 2014 01:10:44 +0000 (02:10 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:08:28 +0000 (14:08 -0500)
commit14c76150f7cc07c4662bd8e6622e5e38df985315
treeb4463dac539234d864a4213651879b6eab4f4589
parent4da18bb4fb53537a279fe899620de9af4bf4695c
rtl818x: add comments to explain few not obvious HW configs.

Certain HW options (TX packet retry count, CW configuration and
TX power configuration) can be specified in both the TX packet
descriptor and also into HW "global" registers.

The HW is thus configured to honour the global register or the
TX descriptor field depending by the case.

This patch adds few comments that hopefully clarify in which cases
the driver uses one method and in which cases it uses the other.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180/dev.c