P2P: Adjust service discovery maximum fragment size for 60 GHz
authorLior David <qca_liord@qca.qualcomm.com>
Wed, 24 Feb 2016 15:02:29 +0000 (17:02 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 7 Mar 2016 11:47:01 +0000 (13:47 +0200)
commite4a1469cecee8d21044fb6e97f85aa807f498b62
tree4a96893029951c533fe71629cc14b697a0f98226
parent890fd60f7df9a2416bb294caf38d7ee2ae603d4b
P2P: Adjust service discovery maximum fragment size for 60 GHz

In the 60 GHz band, service discovery management frames are sent over
the control PHY and have a smaller maximum frame size (IEEE Std
802.11ad-2012, 21.4.3.2). Fix the code to use sufficiently small
fragment size when operating in the 60 GHz band.

The 60 GHz fragment size (928) is derived from the maximum frame size
for control PHY (1023) and subtracting 48 bytes of header size, and some
spare so we do not reach frames with the absolute maximum size.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
src/p2p/p2p_sd.c