wifi: iwlwifi: move amsdu_size parsing to iwlwifi

The code that is parsing the amsdu_size module parameter and mapping it
to the corresponding Rx buffer size is common to all opmodes.
Move it into a function in iwlwifi, as preparation to a new op mode we
are working on.


Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Change-Id: Iab3c22ef0df685f72f22dafc47021f0dc7bd6fa5
Reviewed-on: https://gerritwcs.ir.intel.com/c/iwlwifi-stack-dev/+/108529
tested: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
automatic-review: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
x-iwlwifi-stack-dev: cb6855eb9e7d81c3c9832c5da1112e6343c59704
4 files changed