Lines Matching refs:hw
541 * Return "hw specs". Note this must be the first cmd MUST be done after
545 malo_hal_gethwspecs(struct malo_hal *mh, struct malo_hal_hwspec *hw)
558 IEEE80211_ADDR_COPY(hw->macaddr, cmd->permaddr);
559 hw->wcbbase[0] = le32toh(cmd->wcbbase0) & 0x0000ffff;
560 hw->wcbbase[1] = le32toh(cmd->wcbbase1) & 0x0000ffff;
561 hw->wcbbase[2] = le32toh(cmd->wcbbase2) & 0x0000ffff;
562 hw->wcbbase[3] = le32toh(cmd->wcbbase3) & 0x0000ffff;
563 hw->rxdesc_read = le32toh(cmd->rxpdrd_ptr)& 0x0000ffff;
564 hw->rxdesc_write = le32toh(cmd->rxpdwr_ptr)& 0x0000ffff;
565 hw->regioncode = le16toh(cmd->regioncode) & 0x00ff;
566 hw->fw_releasenum = le32toh(cmd->fw_releasenum);
567 hw->maxnum_wcb = le16toh(cmd->num_wcb);
568 hw->maxnum_mcaddr = le16toh(cmd->num_mcastaddr);
569 hw->num_antenna = le16toh(cmd->num_antenna);
570 hw->hwversion = cmd->version;
571 hw->hostinterface = cmd->hostif;