Tamas,
Your AP count is limited to 22 because of the PEF-NG license count of 22. In order to add more campus APs to the controller, you would need to add 10 PEFNG license
Here is my 3200 controller which brings up one AP but another AP shows up with "IL" flag since I have only 1 PEF-NG license.
(master) #show license-usage ap
Total AP Licenses : 128
Remote-Node AP Licenses Used : 0
AP Licenses Used : 1
Tunneled Node Licenses Used : 0
Unused AP Licenses : 127
Licenses used for Campus AP's : 1
Available Campus AP's : 0
Licenses used for Remote AP's : 0
Available Remote AP's : 0
Total Ortronics AP Licenses : 0
Ortronics AP Licenses Used : 0
Total Indoor Mesh AP's Supported : 128
Indoor Mesh AP's Active : 0
Total Outdoor Mesh AP's supported : 128
Outdoor Mesh AP's Active : 0
Total PEF Licenses : 1
Remote-Node PEF Licenses Used : 0
PEF Licenses Used : 1
(master) #show keys
Licensed Features
-----------------
Feature Status
------- ------
Access Points 128
Remote Access Points 128
Ortronics Access Points 0
Outdoor Mesh Access Points 128
RF Protect 0
Voice Service Module Unlimited
VPN Server Module 2048
xSec Module 0
Indoor Mesh Access Points 128
120abg Upgrade 0
121abg Upgrade 0
124abg Upgrade 0
125abg Upgrade 0
Next Generation Policy Enforcement Firewall Module 1
(master) #show ap database
AP Database
-----------
Name Group AP Type IP Address Status Flags Switch IP
---- ----- ------- ---------- ------ ----- ---------
ap105 local1 105 10.163.205.102 Up 6m:42s 10.163.204.42
ap135 local1 135 10.163.205.100 Up 6m:19s IL 10.163.204.42
show log system 10
May 22 12:22:01 :305038: <WARN> |stm| No available license for AP ap135
(master) #show license
License Table
-------------
Key Installed Expires Flags Service Type
--- --------- ------- ----- ------------
Access Points: 128
Next Generation Policy Enforcement Firewall Module: 1
Hope it helps !
--
HT