Fix calculation of sec_ch_offset. Also fix the check for HT40 flag to calculate the channel BW. Also fix check for secondary channel. CRs-Fixed: 1022025 Change-Id: If37780ea64698ab616131a550cd877368c56faa6