WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2018-May-24 22:01:32

why_here
Member
Registered: 2018-Mar-21
Posts: 8

Missing call function wlan_platform_tx_power_to_gain_target()

In the current code in 802.11 design, the transmission of RTS frame missing call function wlan_platform_tx_power_to_gain_target() to convert tx_power to antennas gain. The code is lies in line 1975 in wlan_mac_dcf.c .

Offline

 

#2 2018-May-25 09:26:43

chunter
Administrator
From: Mango Communications
Registered: 2006-Aug-24
Posts: 1212

Re: Missing call function wlan_platform_tx_power_to_gain_target()

Great catch; thanks for finding that. That line should be

Code:

curr_tx_pow = wlan_platform_tx_power_to_gain_target(wlan_mac_low_get_current_ctrl_tx_pow());

We must have had our wires crossed on whether the framework was storing the dBm power value or tx gain value when recalling with wlan_mac_low_get_current_ctrl_tx_pow(). We'll get that fixed and rolled into the next release. I really appreciate you finding these issues and pointing them out to us.

Offline

 

Board footer