qcacmn: Change WAPI Tx IV PN Sequence
Change the receive and transmit Iv in wlan_crypto_set_wapi_key such as: tx_iv[16] = {0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36}; rx_iv[16] = {0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x36, 0x5c, 0x37}; This is done as wpi_key_tsc_counter sequence was been sent in reverse order. 0x365C365C365C365C365C365C365C365C was sent although 0x5C365C365C365C365C365C365C365C36 was expected. This is because new chipset firware expects the format to be in big endian. Also, taken care for the backward compatibility required for the old chipset firware with the feature flag. Change-Id: I8c795df5a9143e5089e93aaebe7787e51b570c74 CRs-Fixed: 2743162
Loading
Please register or sign in to comment