No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ashish Kumar Dhanotiya ec326a7ae8 qcacmn: Address synchronization issue in 11d state machine
Currently whenever host gets an indication for the cc event
list, it starts 11d machine and inside 11d state machine,
it decides that whether host needs to send start 11d scan
command to fw or stop 11d scan command to fw, based on that it
updates the enable_11d_supp variable of regulatory psoc private
object and posts the message to scheduler.
FW expects that host should not send back to back 11d start
scan command, there should be one 11d stop scan command before
next 11d start scan command is sent if already one 11d start
scan command is sent.
Host 11d state machine takes care of the above sequence
of 11d scan command by using enable_11d_supp. 11d state machine
sets enable_11d_supp whenever 11d scan start command needs to
be sent and resets enable_11d_supp whenever 11d scan stop
command needs to be sent and posts the message in the scheduler.
There is a case where if host receives the 11d cc event from FW
it sends the set country command to FW and at the same time if
user command comes to set the country, host again sends the set
country command to FW. FW processes both of these commands and
sends the cc list event to host. when host receives cc events
it starts the 11d machine. For the first cc event which is for
11d country which is processed as user country because of
incorrect logic in reg process master channel list where it is
assumed that at a time only one type of country set command can
be pending and first priority is given to the user country pending,
host resets enable_11d_supp and post the command to scheduler.
When host receives the cc list event for the user country it is
processed as 11d country and inside 11d state machine it sets
enable_11d_supp and posts the command to scheduler.
Now if scheduler schedules these commands it treats both the
commands as start 11d scan commands as enable_11d_supp is set
and sends start 11d scan command back to back.
To avoid above issue, add enable_11d_supp also as part of
the scheduler msg body pointer along with the psoc, in she
scheduler callback use this local variable to decide whether
11d start scan needs to be sent or 11d stop scan needs to be
sent.

Change-Id: I60150da1475251a1c22778a0f924bdfbe1bb1140
CRs-Fixed: 2641803
2020-03-25 22:30:17 -07:00
cfg
dp qcacmn: Support RX 2K jump/OOR frame handling from REO2TCL ring 2020-03-24 19:58:16 -07:00
ftm
global_lmac_if
hal/wifi3.0 qcacmn: Convert GI and LTF to radiotap defined values 2020-03-25 22:29:56 -07:00
hif
htc
init_deinit/dispatcher
os_if/linux
qal
qdf qcacmn: Add NAN and TDLS cases for qdf_opmode_str 2020-03-25 19:11:14 -07:00
scheduler
spectral qcacmn: Add new file to hold CFR specific configuration 2020-03-24 23:58:08 -07:00
target_if qcacmn: Remove redundant data structure for wmi response extraction 2020-03-24 21:38:47 -07:00
umac qcacmn: Address synchronization issue in 11d state machine 2020-03-25 22:30:17 -07:00
utils
wbuff
wlan_cfg
wmi qcacmn: Replace QDF_MAX_NUM_CHAN with NUM_CHANNELS to aviod OOB access 2020-03-25 07:09:34 -07:00
README.txt
VERSION.txt

 This is CNSS WLAN Host Driver for products starting from iHelium