qcacld-3.0: Modify datastructure of sta_info from hash table to list

For each peer connected to SAP, there is a corresponding entry maintained
in HDD called station_info. Currently, this data is being stored as a
hash table. There are two primary complications in using a hash table
in this scenario:

	- The max peers supported are 32. This is a very small number to
	  use a hash table for. The minute time complexity gains for a
	  fetch/insert operation do not justify the implementation
	  complexity.

	- The hash table is being implemented with the use of kernel ht
	  APIs. These do not provide the granularity to achieve proper
	  synchronization as is needed in driver.

To address the above points, move the storage of sta_info from hash
table to linked list. This will provide simpler implementation and also
give access to using proper synchronization methods.

Change-Id: I7d3a8a2937048f29a867453a91dfc1864932619e
CRs-Fixed: 2668300
9 files changed