资源简介
AP6212最新驱动源码 bcmdhd.1.579.77.41.x.7z 从FAe获得,亲测移植可用,有需要的请下载,仅限学习使用。
代码片段和文件信息
/*
* Misc utility routines for accessing chip-specific features
* of the SiliconBackplane-based Broadcom chips.
*
* Copyright (C) 1999-2017 Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software this software is licensed to you
* under the terms of the GNU General Public License version 2 (the “GPL“)
* available at http://www.broadcom.com/licenses/GPLv2.php with the
* following added to such license:
*
* As a special exception the copyright holders of this software give you
* permission to link this software with independent modules and to copy and
* distribute the resulting executable under terms of your choice provided that
* you also meet for each linked independent module the terms and conditions of
* the license of that module. An independent module is a module which is not
* derived from this software. The special exception does not apply to any
* modifications of the software.
*
* Notwithstanding the above under no circumstances may you combine this
* software in any way with any other Broadcom software provided under a license
* other than the GPL without Broadcom‘s express prior written consent.
*
*
* <>
*
* $Id: aiutils.c 625027 2016-03-15 08:20:18Z $
*/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include “siutils_priv.h“
#include
#define BCM5357_DMP() (0)
#define BCM53573_DMP() (0)
#define BCM4707_DMP() (0)
#define PMU_DMP() (0)
#define GCI_DMP() (0)
#define remap_coreid(sih coreid) (coreid)
#define remap_corerev(sih corerev) (corerev)
/* EROM parsing */
static uint32
get_erom_ent(si_t *sih uint32 **eromptr uint32 mask uint32 match)
{
uint32 ent;
uint inv = 0 nom = 0;
uint32 size = 0;
while (TRUE) {
ent = R_REG(si_osh(sih) *eromptr);
(*eromptr)++;
if (mask == 0)
break;
if ((ent & ER_VALID) == 0) {
inv++;
continue;
}
if (ent == (ER_END | ER_VALID))
break;
if ((ent & mask) == match)
break;
/* escape condition related EROM size if it has invalid values */
size += sizeof(*eromptr);
if (size >= ER_SZ_MAX) {
SI_ERROR((“Failed to find end of EROM marker\n“));
break;
}
nom++;
}
SI_VMSG((“%s: Returning ent 0x%08x\n“ __FUNCTION__ ent));
if (inv + nom) {
SI_VMSG((“ after %d invalid and %d non-matching entries\n“ inv nom));
}
return ent;
}
static uint32
get_asd(si_t *sih uint32 **eromptr uint sp uint ad uint st uint32 *addrl uint32 *addrh
uint32 *sizel uint32 *sizeh)
{
uint32 asd sz szd;
BCM_REFERENCE(ad);
asd = get_erom_ent(sih eromptr ER_VALID ER_VALID);
if (((asd & ER_TAG1) != ER_ADD) ||
(((asd & AD_SP_MASK) >> AD_SP_SHIFT) != sp) ||
((asd & AD_ST_MASK) != st)) {
/* This is not what we want “push“ it back */
(*eromptr
- 上一篇:STM32驱动OV7620摄像头
- 下一篇:小凡顶尖劫持插件V1.6.1最新版
相关资源
- RTL8188EVT USB WIFI无线网卡驱动 免费版
- wifi电路调试经验之谈
- Marvell 88W8686 WiFi模块的ADHOC热点创建代
- RT5350WIFI模组
- 基于Arduino和Machtalk的温棚环境监测系
- 卡皇RTL8187芯片网卡驱动 Win7 x86x64官方
-
lb li
nk随身wifi驱动 v1.1.3 官方版 - 基于ADS1298与WiFi的脑电信号采集与传输
- 经验分享:如何通过wifi标准选择
- WIFI车载影音导航系统方案设计
- stm32_WiFi智能家居.zip
- 华硕老毛子padavan固件使用dogcom完整教
- 真正的无需跑包无需PIN秒破解软件路
- wifi共享大师纯净去广告版强力共享校
- stm32103c8t6ESP8266串口转WIFI模块TCP服务器
- wifi暴力破解电脑(PC)版2.0官方安装
- wifi跑包密码字典,跑包字典,暴力破
- wifi字典完美
- 360随身wifi驱动,360wifi驱动,无广告版
- 360免费WIFI(适用于任意无线网卡)
- MT7601(小度wifi360wifimiwif) staap linux驱
- 全志xr819 wifi datasheet
- MediaTek-AP-MT7628DAN+MT7612E硬件开发包
- 2.4G蓝牙/WiFi-PCB天线封装(Cadence-Alle
- AP6256_4.2固件.tgz
- STM32F407ZG_ESP8266例程
- linux 360wifi3代驱动
- Linux内核WIFI驱动详细源码
- 基于zigbee温湿度传输及控制带wifiAPP查
- 新3newifi3路由集客AP 5G正常的版本
评论
共有 条评论