Wlan: Calculate max number of assoc in getMaxAssoc ioctl command.

getMaxAssoc ioctl command returns the value set in CCM. It does not
considers the number of Self STA created for each open adapter hence
may return incorrect value.

Add calculation to return the maximum association count based on number
of supported STAs, reserved STAs and self STAs for open adapters.

Change-Id: I354baf540dfb65cf234a4d7e851799fb2cb5cc64
CRs-Fixed: 719372
3 files changed
tree: 7493c8f3ef34e5e9e82d66a9709fdda3159457a3
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile