]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e47c14074745e81b0a0e4f2eb404fb7cdc28d64
treed92b9bf7a6dac8e364c6384335ed39e33408933e
parentdfc7e8a3e3918fdddd05d4f5c3077c20c3eb1675
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