wlan: ftm: Process WE_GET_TX_POWER and WE_GET_TX_RATE IOCTLs appropriately

For WE_GET_TX_POWER, currently driver requests tx power index value from FW
and uses it to calculate tx power value in dbm. Now in FW changes are done
to send directly power in dbm so that driver can return same value to USER.
For WE_GET_TX_RATE, currently driver requests current tx rate from FW. But
if USER requests tx rate just after setting tx rate(without sending any
data) then driver returns previously set tx rate rather than current rate.
Hence changes are done to return valid numbers to user for WE_GET_TX_POWER
and WE_GET_TX_RATE IOCTLs.

Change-Id: I228dc15c74a872d3cefd7e708085e96e72c4422e
CRs-Fixed: 934985
1 file changed
tree: 6ba7cb51ee9f65f96b878043c466a910528e6cff
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile