wimax/i2400m: limit the message size upto 16KiB [v1]
authorPrasanna S. Panchamukhi <prasannax.s.panchamukhi@intel.com>
Thu, 8 Apr 2010 23:24:28 +0000 (16:24 -0700)
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Tue, 11 May 2010 21:06:12 +0000 (14:06 -0700)
commita40242f2cde38ccb04d4c35cad66aab3c047fa6a
treed92b9bf7a6dac8e364c6384335ed39e33408933e
parente6dd789af1823908ed3ccda26bf07faf5970bce1
wimax/i2400m: limit the message size upto 16KiB [v1]

According to Intel Wimax i3200, i5x50 and i6x50 specification
documents, the maximum size of each TX message can be upto 16KiB.
This patch modifies the i2400m_tx() routine to check that the
message size does not exceed the 16KiB limit.
Please refer the documentation in the code for details.

Signed-off-by: Prasanna S. Panchamukhi <prasannax.s.panchamukhi@intel.com>
drivers/net/wimax/i2400m/tx.c