qcacmn: Get NSS info from SS bitmap
Get NSS info from a the MIMO SS bitmap within msdu_start info Change-Id: I794b093783b5f1ffc7faf335da84cbc07375d520 CRs-Fixed: 2215660
这个提交包含在:
@@ -576,6 +576,22 @@ int qdf_get_cpu(void)
|
||||
return __qdf_get_cpu();
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_get_hweight8() - count num of 1's in bitmap
|
||||
* @value: input bitmap
|
||||
*
|
||||
* Count num of 1's set in the bitmap
|
||||
*
|
||||
* Return: num of 1's
|
||||
*/
|
||||
static inline
|
||||
unsigned int qdf_get_hweight8(unsigned int w)
|
||||
{
|
||||
unsigned int res = w - ((w >> 1) & 0x55);
|
||||
res = (res & 0x33) + ((res >> 2) & 0x33);
|
||||
return (res + (res >> 4)) & 0x0F;
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_device_init_wakeup() - allow a device to wake up the aps system
|
||||
* @qdf_dev: the qdf device context
|
||||
|
在新工单中引用
屏蔽一个用户