/* Return: true if station in half n mode and AP supports 40 bw  */
bool IsHTHalfNmode40Bandwidth(struct ieee80211_device *ieee)
/* Return: true if station in half n mode and AP supports 40 bw  */
bool IsHTHalfNmode40Bandwidth(struct ieee80211_device *ieee)
{
	bool			retValue = false;
	PRT_HIGH_THROUGHPUT	 pHTInfo = ieee->pHTInfo;
	if(pHTInfo->bCurrentHTSupport == false )
		retValue = false;
	else if(pHTInfo->bRegBW40MHz == false)
		retValue = false;
	else if(!ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev))
		retValue = false;
	else if(((PHT_CAPABILITY_ELE)(pHTInfo->PeerHTCapBuf))->ChlWidth)
		retValue = true;
	else
		retValue = false;
	return retValue;
}